package cn.wolfcode.cloud.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by wolfcode-lanxw
 */
@Getter@Setter@NoArgsConstructor@AllArgsConstructor
public class Product implements Serializable {
    private Long id;//商品id
    private String name;//商品名称
    private int price;//商品价格
    private int stock;//商品库存
}
